package com.xyz.update.update;

import android.graphics.Color;
import android.view.Gravity;

import com.blankj.utilcode.util.ToastUtils;

public class XyToastUtils {
    public static void showShort(String content) {
        ToastUtils.make()
                .setGravity(Gravity.CENTER, 0, 0)
                .setBgColor(Color.BLACK)
                .setTextColor(Color.WHITE)
                .setDurationIsLong(false)
                .show(content);
    }

    public static void showLong(String content) {
        ToastUtils.make()
                .setGravity(Gravity.CENTER, 0, 0)
                .setBgColor(Color.BLACK)
                .setTextColor(Color.WHITE)
                .setDurationIsLong(true)
                .show(content);
    }
}
